package com.yami.shop.bean.app.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * 草稿单DTO
 * @author AI Assistant
 */
@Data
@Schema(description = "草稿单")
public class FaceDraftDto {

    @Schema(description = "草稿ID")
    private Long draftId;

    @Schema(description = "用户ID")
    private String userId;

    @Schema(description = "草稿名称")
    private String draftName;

    @Schema(description = "人脸底图ID")
    private Long faceBaseId;

    @Schema(description = "五官配置JSON")
    private FaceDesignConfigDto featureConfig;

    @Schema(description = "预览图URL")
    private String thumbnailUrl;

    @Schema(description = "草稿状态 1:草稿 2:已保存为设计稿")
    private Integer draftStatus;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新时间")
    private Date updateTime;

    @Schema(description = "关联的人脸底图信息")
    private FaceBaseDto faceBase;

    /**
     * 排单状态
     * 0:未排单（草稿转为设计稿后默认状态）
     * 1:待确认排单（用户点击申请排单）
     * 2:已确认排单（管理后台确认排单）
     * 3:已生成订单
     */
    private Integer scheduleStatus;

    /**
     * 关联的订单ID（排单确认后生成）
     */
    private Long orderId;
}
